package com.feicheng.iou.pojo.resourceBackviewParamPOJO;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.feicheng.iou.entity.Backview;
import com.feicheng.iou.entity.Resource;
import com.feicheng.iou.entity.Student;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 *
 * @author wuweinan
 * @since 2021-06-28
 * @description 根据接口文档的传入或者返回json用于封装信息的对象.
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class BackviewListParamPOJO {

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime backviewSearchStartTime;//回访时间查询范围起始时间
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime backviewSearchEndTime; //回访时间查询范围结束时间
    private Integer page; //页码
    private Integer size; //单页面信息条数
    private Backview backview; //回访实体类
    private Resource resource; //线索实体类
    private Student student; //学生实体类

    //private Boolean permissionFlag = false;  //默认是false    控制是否可以查看全部

}
